﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FantastPlatform.Framework.Core;

namespace FantastPlatform.Framework.IModel
{
    /// <summary>
    /// 用户
    /// </summary>
    public interface IUser :IItem
    {
        /// <summary>
        /// 加密后的数据
        /// </summary>
        string Password { get; set; }
        /// <summary>
        /// 对应的角色
        /// </summary>
        IList<IRole> Roles { get; set; }
        /// <summary>
        /// 对应的员工
        /// </summary>
        IEmployee Employee { get; set; }
    }
}
